package com.woniu.service;

import com.woniuxy.commons.entity.QueryConditions;
import com.woniuxy.commons.enums.SubjectEnum;
import com.woniuxy.commons.enums.TestBankEnum;

import java.util.HashMap;
import java.util.List;

/**
 * @program: bzeducation
 * @author: Xingqilin
 * @create: 2020-07-16 19:40
 * @description:题库查询接口
 */
public interface SearchBankService {
    <K> K findBankById(TestBankEnum testBank, Long id);

    List findBankByTopic(SubjectEnum subject, TestBankEnum testBank, String topic);

    HashMap<Long, Object> findBankByParams(SubjectEnum subject, TestBankEnum testBank, QueryConditions queryConditions);

}
